package entity;

public class OrderAndId {

    private int id;
    private String disMegs;
    private int states;
    private Double sumPrices;

    public OrderAndId() {}

    public OrderAndId(int id, String disMegs, int states, Double sumPrices) {
        this.id = id;
        this.disMegs = disMegs;
        this.states = states;
        this.sumPrices = sumPrices;
    }

    @Override
    public String toString() {
        return "OrderAndId{" +
                "id=" + id +
                ", disMegs='" + disMegs + '\'' +
                ", states=" + states +
                ", sumPrices=" + sumPrices +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDisMegs() {
        return disMegs;
    }

    public void setDisMegs(String disMegs) {
        this.disMegs = disMegs;
    }

    public int getStates() {
        return states;
    }

    public void setStates(int states) {
        this.states = states;
    }

    public Double getSumPrices() {
        return sumPrices;
    }

    public void setSumPrices(Double sumPrices) {
        this.sumPrices = sumPrices;
    }
}
